home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 042a / 3dlib17f.zip / 3DC.DOC < prev    next >
Text File  |  1993-03-15  |  7KB  |  171 lines

  1.  
  2.  ╔══════════════════════════════════════════════════════════════════════════╗
  3.  ║                                                                          ║
  4.  ║                                 ISoft D&M                                ║
  5.  ║                                 POB. 5517                                ║
  6.  ║                           Coralville IA 52241                            ║
  7.  ║                                   U.S.A                                  ║
  8.  ║                                                                          ║
  9.  ╚══════════════════════════════════════════════════════════════════════════╝ 
  10.  
  11. *******************************************************************************
  12. *                              3dC DOCUMENTATION                              *
  13. * M3D macro translator to Turbo Pascal Source. V1.7                           *
  14. * Last Update : Feb. 13, 1993.                                                *
  15. *******************************************************************************
  16.  
  17. *******************************************************************************
  18. *                                INTRODUCTION                                 *
  19. *******************************************************************************
  20.  
  21.  
  22. 3dC is a translator that converts 3D animation macros (M3D files) into
  23. Borland Pascal 7.0 source programs that can be used with the 3dLIB package
  24. to create 3D animation executables, or 3D animation procedures that can
  25. be implemented in your programs.
  26.  
  27. The generator can create code for Dos and Windows, from the same source!.
  28.  
  29. M3D macro programs can be animated for test purposes using the ISoft D&M 
  30. distributed 3D120 package, Or the supplied 3dA program.
  31. You can use 3DC to create animated programs without this package. 
  32.  
  33. Please notice : older versions of the 3D program that were distributed as 
  34. 3D100 and 3D110 packages are supported, but a small change in the macro
  35. language exist in the GOTO command, that uses ',' to separate arguments, 
  36. while the older versions used only spaces, that could cause improper
  37. translation when negative arguments were passed.
  38.  
  39. *******************************************************************************
  40. *                                    USAGE                                    *
  41. *******************************************************************************
  42.  
  43. At the command line type 
  44.  
  45. 3DC input.m3d [output.pas]
  46.  
  47. Where input.m3d is the name of the input macro language.
  48.  
  49. If no output name is specified 3DC creates a pascal source file called
  50. 3DPAS.PAS .
  51.  
  52. To compile the generated source file use Turbo Pascal 6.0 with the following
  53. command :
  54.  
  55. TPC /M source.pas 
  56.  
  57. or BP7 with 
  58.  
  59. BPC /m source
  60.  
  61. Be sure that the compiler can find the GRAPH.TPU file supplied with 
  62. Turbo/Borland Pascal.
  63.  
  64. To run the executable created type it's name in the command line, 
  65. and be sure that the required graphic .BGI file is in the current
  66. directory. (please refer to your Turbo Pascal manual about your .BGI file).
  67.  
  68. If you want 3dC to produce code for the Windows 3.0 or 3.1 environment use
  69. the /W+ switch on the command line, and compile using Turbo Pascal for Windows.
  70.  
  71. If you run Windows you can use the supplied 3dCW.EXE program - a Windows
  72. hosted generator available from version 1.4 .
  73.  
  74. IMPORTANT - if you want the 3dCW program to find the HELP file, we recommend
  75. that you set the working directory of the 3dCW file in the program manager
  76. to the directory you installed the 3dCW.Hlp file!
  77.  
  78. More documentation regarding consideration of macro language translation is
  79. supplied for registered users of 3dLIB, in a printed manual.
  80.  
  81. *******************************************************************************
  82. *                               MACRO LANGUAGE                                *
  83. *******************************************************************************
  84.  
  85. The following commands are supported by the 3DC translator in the 3D Macro 
  86. language :
  87.  
  88. c   - Clear Screen .
  89. w   - set Color to White.
  90. b   - set Color to Black.
  91. p   - Paint Active object in last color.
  92. o0  - set Perspective off.
  93. o1  - set Perspective on.
  94. >x   - Start a loop to be performed x times.
  95. lfl - Load simple object from file fl into the active object.
  96. Lfl - Load complex object from file fl into the active object.
  97. rad  - Rotate Active Element In axis a, d degrees.
  98. ex  - Choose Active Element x.
  99. mas  - Move in a axis, s steps.
  100. gx,y,z - Goto 3d pos x,y,z.
  101. saf  - Scale a axis in f factor.
  102. v0..v9 variable names.
  103. <    - End Loop.
  104. \    - End line.
  105. z    - set object to center.
  106. Rsad - rotate a sub object of a complex object
  107.         around axis a, d degrees.
  108. Msas - move a sub object of a complex object
  109.         in axis a, s steps.
  110. Ssaf - scale a sub object of a complex object
  111.         around axis a, by a factor of f.
  112.  
  113.  
  114.  
  115. Special Notes : a number must end with a space character.
  116.                 Loops can be nested 10 levels deep in the 3D111 package, 
  117.                 but 3DC can translate even more levels that.
  118.  
  119.                 any numeric expressions requested can be
  120.                 given with a normal infix notation, for
  121.                 example :
  122.  
  123.                 rx30 * v1 + 2
  124.  
  125.                 will rotate the current active object
  126.                 around the x axis, by 2 plus 30 * v1
  127.                 degrees, where v1 is a variable.
  128.  
  129. *******************************************************************************
  130. *                                   General                                   *
  131. *******************************************************************************
  132.  
  133.   3dLIB is distributed by ISoft D&M, P.O.B. 5517 CORALVILLE IA 52241, U.S.A.
  134.   
  135.   3dLIB is (c) copyrighted by Loewy Ron, 1991,93.
  136.  
  137.   3dLIB is a shareware package, please register your copy. 
  138.   To register your copy of 3dLIB please refer to the supplied
  139.   3DLIB.REG file. 
  140.  
  141.   Other programs distributed by ISoft D&M are described in the supplied  
  142.   PROGRAMS.TXT file.
  143.  
  144. *******************************************************************************
  145. *                                   Contact                                   *
  146. *******************************************************************************
  147.  
  148.   Please contact :
  149.  
  150.   ISoft D&M,  
  151.   P.O.B 5517
  152.   Coralville IA 52241,
  153.   U.S.A
  154.  
  155.   To contact the author directly : 
  156.  
  157.   Contact :     Loewy Ron,
  158.                 9 Haneveem st.
  159.                 Herzeliya, 46465
  160.                 ISRAEL.
  161.  
  162. *******************************************************************************
  163. *                                   Credits                                   *
  164. *******************************************************************************
  165.  
  166.   3dLIB and 3dC were written using Turbo Pascal V6.0, Turbo Pascal
  167.   for Windows V1.5 and Borland Pascal with objects V7.0, trademarks 
  168.   of Borland International.
  169.  
  170.   Windows 3.0 and Windows 3.1 are trademarks of Microsoft Corp.
  171.